package com.koco.controller;


import com.github.pagehelper.PageInfo;
import com.koco.entity.XxlJobInfo;
import com.koco.service.PdOrderClassifyService;
import com.tms.springboot.aggregation.pojo.PdCoreOrg;
import com.tms.springboot.vo.CoreOrgJobInfoVo;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;
import java.util.Map;

/**
 * <p>
 * 订单分类记录 前端控制器
 * </p>
 *
 * @author 小哑巴
 * @since 2023-06-28
 */
@RestController
@RequestMapping("/pd-order-classify")
public class PdOrderClassifyController {

    @Resource
    private PdOrderClassifyService classifyService;
    @PostMapping("queryCoreOrgList")
    @ResponseBody
    public PageInfo<CoreOrgJobInfoVo> queryCoreOrgList(@RequestBody Map<Object, Object> map){
        return classifyService.queryCoreOrgList(map);
    }
}
